package com.yoda.mall.model.entity.pms;
import java.io.Serializable;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
/**
 * sku的库存(SkuStock)实体类
 *
 * @author shawn
 * @since 2022-12-18 11:01:16
 */
@Data
@TableName("pms_sku_stock")
public class SkuStock implements Serializable {
    private static final long serialVersionUID = 922331605954249387L;

    @TableId
    private Long id;


    private Long productId;
    /**
     * sku编码
     */
    private String skuCode;
    
    private Double price;
    /**
     * 库存
     */
    private Integer stock;
    /**
     * 预警库存
     */
    private Integer lowStock;
    /**
     * 展示图片
     */
    private String pic;
    /**
     * 销量
     */
    private Integer sale;
    /**
     * 单品促销价格
     */
    private Double promotionPrice;
    /**
     * 锁定库存
     */
    private Integer lockStock;
    /**
     * 商品销售属性，json格式
     */
    private String spData;


}

